begin testing the C APIs