updated tests for reauthenticate method