Write the test for the reset behavior.