add test for `get_nearest_members`