clean up cache test
fix key type