#223 Added tests for cache
- added tests
- better load/save process
- linting
- minor fix to lint in makefile.