add test for util.timedelta_to_seconds