adding tests for when resetting the password