added test to check if player is notified when they win