time_io-tests: check leap second support before using it in tests