Tests for start-end time