Simplify testing code

This is last set of changes to remove goconvey. I need to go over some of the tests after review, particularly in the leveldb test suite, where I think I can get more of the suite into tables. Before I do that, I'd like feedback on the intentions of various parts (also in the query shape tests at the end).