Create unit test for loadUserByEmail

- Remove unneccessary annotation.
- Unit test updated.