more tests
fixes bug 937165 - Searches that break ts_query give DatabaseErrors on search