fix tests for added "parseFrom" methods.
if an error occurs during compilation, exit with an error code, so external tools will know.