Added tests for Cache
Added code styles check for tests