Added functional test for listing users