Make promotedPieceType parser easier to test