Test case for 'james.write'.