Added a test which spans peak/offpeak periods.

According to the current implementation charges peak prices in all
three of the above cases:
a) start offpeak, end peak
b) start peak, end offpeak
c) start offpeak, end offpeak, last more than 12 hours