added a C API test draft