Testing stamp and merge function.