Add tests for C++ classes. #99