Added a test method to getNearbyPlaces using types filter