Created some basic tests of Query.