add replay tests