tested event reminder function