test for retrieving users