Add tests on userDetailsService