refactored a bit of the pawn movement, and fixed pawn unit tests