Fix replay test.