Massively reduced adjacentcy test to work without redundant code.