Improved mocking around TestSqlitePersistence
Separated out AddBookType into its own query object