Test transactional behaviour

Create test support package for common test functions and custom gomock matchers.

Document a logging verbosity policy in the README, although this has not yet
been implemented except in the customer gomock matchers.