Add Query tests.