Finished writing several tests, including basic tests for select queries.