UserDetailsTest.php fixed