Fix function move_pawn
Add more tests