* Add specific test for time.Duration conversion
This test will fail on 32 bits system
* Fix integer overflow in time.Duration conversion
According to the Go documentation, a time.Duration is represented by
int64 nanoseconds count, so we need to cast to int64 to avoid integer
overflow in 32 bits systems.