Added first tests for AuthService