Add tests for timedelta/offset math (GH5436)