test: move C++ test code to separate file
test: add basic wrap_c test