test_get_segment_efforts add datetime.datetime test