Reset the class variable so that the function can be run multiple times for different test cases.