test for reset