authService unit tests