Throw an event when the board gets solved. Added a unit test for this.