move test/action cache hashes to __init__