Add tests that check search string is not changed