Finished C interface unit tests