Added tests to TimeTriggerTest