Check that error call on WritableStream in waiting state updates writablePromise correctly

For a little test coverage increase