[test] Fix size_t to int conversion in test_difference
[follow] Fix msvc size_t to int conversion warnings