check Schedule (ON/OFF) against TimeStamp, with tests