Added tests for multi queries