Add some tests for authService