WritableStream::end tests