time functions test using gmp