This allows us to test locating with a broader variety of inputs, not just what we pass to split_tokens.