Updated "searching for user" test case

Updated the test case to query the returned data for expected properties, which
it wasn't doing before.