add test case for getPeople method