Use unsigned ints in tests