syntax of test for winning