first part of test for UserDetailsCtrl