unittest for sdk/c