test: add test-querySync-select