Refined tests. Add tests for fragments cache. Made fragements cache a toplevel class. Decouples it from fragmentation. And much more refactoring.
Continued working on tests and respective bugfixes. Still some bugs to fix.