Added testWhitePassedPawns and testBlackPassedPawns functions and fixed bug for black passed pawns