c api utest framework