Replaced the locator to disable tests on spec classes since it gets the line numbers wrong for them.