check callback.type in TupleSpace.write()  #1