fix not-parsing, and kludgy error throwing for failed test cases