Use unsigned types for sizes in tests.