Alarms class and Notify interface are seriliazable.
Test case for serialization and deserialzation added.