Added missing unregister to reset of test helper