Add support for testing of EOF and export FAIL-PARSE