adjusted unit test to use int for cell visits