Add tests for user list generation