Added tests for Query8