work and unit tests for publishing reminders