replace all casserts with Boost.Assert