Created a test for setPartOfWinningLine