A test for KPClusterGridCellPositionCompareWithPosition and some cleanups