Add test for getting users from db