Additional test, get arity in write function