Refactor TestUtils: layout, imports and exports, misc.
Move init/teardown code into TestUtils, better encapsulation.