Fixed timezone bug in reminders and added some functional tests.