Fixes bishop and pawn legality tests, still could be errors, however.