Added test cases for mutex and lock_guard
Some work on making throw_exception() configurable
Made assertions configurable