Added new tests for location selection.