tests for c