[FIX] Fixing bug in test that caused the swift index test to not compile.

Note that it now fails since there is a bug with the swift index search if the pattern is empty.
Merge pull request #132 from holtgrewe/hotfix/swift_test_bugs

[FIX] Fixing bug in test that caused the swift index test to not compile.