boost::unit_test::framework::deregister_test_unit — This function removes the test unit from the collection of known test units and destroys the test unit object.
This function also assigns unique test unit id for every test case. Later on one can use this id to located the test case if necessary. This is the way for the framework to maintain weak references between test units.
test unit to deregister