Changed test framework to be C++ instead of C.