Added all queries from as test cases.