test writing

attempts shall be made
And `calledWith('fake-error')`.