Added test case for win()