Wrapped Tests in Transactions

md5sum a.out
7dc3c60b5a3263b2877c10cb6635abe4  a.out

Wrapped tests that affect the database in transactions that abort at the
end so the state of the database is the same as when the test began.

Should create a seed data method to seed the database with some test
data.