#58: added c++ tests