Adapt the C test writer to the new project format