added test for player win