test for stringquery