Adding tests for getNeighbor8