Refactor the user list test to use factory-built users and explicit assertions.