Fixed bugs (the algorithm remains, it was not implelemted correctly). Unit tests now pass.
Added testMoveSimple(). It is a simplified version of testMove() that has only very few dependencies.