adding cache support to test_helper