added unit tests for TimedHandlerDecorator