authenticationModel unit tests