Unit tests to pass in correct time interval to scala job; setLower()