Migrate eof test
Migrate escape tests