Fixed reset for test files