Regression tests against #2083 (rounding issues near leap seconds)

See title.