test for resetting password