Unit tests for movement engine. Refactoring: change row/columns for x/y (more clear). Fix some bugs...