Made Mutex unit test check output rather than printing it to std::cout, closes #62.