Test for location