wrapped asserts in lock etc, removing boost::test exposure to threads