tk: some cleaning
tk: bugfix on Kdiag_cache and replicated tests for cache methods
tk: moved tests to a separate file
tk:reorganizing tests
tk: started fast version