Changed mainTest with winConditions