Add fold_adjacent.
Increase validation level while testing.
Split tests.
Code cleanup