Add some new test cases:

- Returning result sets wider than 22 from Plain SQL queries
  (PlainSQLTest.testWideResult)
- Abstracting sortBy and map into a utility method
  (MiscTest.testSorting)
- Testing the Case feature (MiscTest.testConditional)