cleanup around tests so that object creation for test assertions can be reused