rewrote nerrs parser so that only the parser was aware of CDM
few fixes for nerrs test