Make test pass and remove no longer needed test for detectLocator.