Testing for tag.write failure case