tests for compilation error messages