unit test for dateTimeSpan