Converted unit test framework away from cppunit to custom one.