Must call refresh for test cases