fixed borken tests, added cache test suite