Fix MAC replay attack test