Move C test wrapper classes to separate file.

This will make it easier to test C++ classes instead.