Add regression test for search syntax