test replayHandler