How can I test recurring functionality?