start adding tests for C part