fixed an unintentionally overflowing Duration constructors; made tests valid on 32-bit platform.