You must subclass SimpleState and SimpleHtmlState.

Previously, handlers could be passed into the constructor but this
discourages re-use and testability.
Add GameState related unit tests.