Bug 1718098 [wpt PR 29481] - Encoding: add some basic EOF tests, a=testonly