test_query: fix for new queries api
bump to 1.2.0

Incompatible with 1.1.x