Add failing test case for TimeDelta and also fix all of the errors