fixed tests and removed unused cache files