battery
battery copied to clipboard
Improve tests
This PR (based on #26) adds some additional testing based on mocks.
I think it's quite difficult to test without mocking the filesystem, and thus an example test was added. Hopefully this will help to avoid possible breaking changes :P