fix BOOST_NOTHROW warnings in unit tests.
===VersionHistory:None===