beef up date range tests

400 on invalid date
test when only endtime is specified