added more parse error tests; improved accuracy of recovery scan