unit test for list_users