[test.common] fixed convert_to_scientific()

Somehow size_t(...) was 791 while ... was 792, so a std::round(...) might
be better.