The tests are full of setup duplication. The different test modules need to bootstrap the DB with different data. They use similar setup methods and utility functions, but with variations. Rather than promote this particular utility function I'd propose putting up a card for refactoring the existing setup and utility methods into an OtmTestCase class with a sensible and well-named collection of utilities encompassing most of the existing ones.