core: case consistency fix for mergeGroups
core: a new unit test based on a random 5x5 game
engines: revert a dispatch.go change I didn't intend to commit
core: unit test update that captures legality issues from random games