added a selenium test for end date before begin