Updated error parsing, compilation errors and test suite