Added int64_t compare functions and tests.