Added tests for when a win occurs and code to make them pass.