Added test for the parser null ref exception.