Add coverage tests for compile.c