Add some automatic checks to testc_local_adjustor.

Test for 344c0dceb44ee0d0767ff041c2e627fdc9e45bab. It fails on 32-bit linux, which still uses 32-bit `std::time_t`. Since this is a posix wrapper, and this bug is due to a limitation of posix, I don't know if it's considered acceptable or not.