add a helper method to reset pre value for next test case