testing for empty locator