cleaned up people_list action and added tests