This is actually an error, because searchString is already defined. It has to use a different name as the argument.

In addition, could you add a test that passes something in that's not a String, so that it would fail without these changes?