Added test to auth service