Fixed winning condition test.