add test for nearby and rating controller