Fix unsigned int/std::size_t mismatch in some tests.