added exceptions in Extractors for detecting if start time is before end
time. added correspongding test cases.