tests for location