Fix tests in 64-bit targets (use NSUinteger instead of unsigned ints).