Fix up replay cache and message replay rule test