Added parser error handling tests. Some are temporarily commented out as I'm not sure if they apply or are correct.