test for locator