The attachTestHelpers method bound the teardown functions in the constructor