boost::unit_test::framework::shutdown — This function shuts down the framework and clears up its mono-state.
// In header: <boost/test/framework.hpp> void shutdown();
It needs to be at the very end of test module execution