Fixed a couple of bugs in parseMove testing

The rank was wrong when determining whether or not to include
a promotion piece for a pawn move.