Refactor wxGrid tests to make it easier to run individual ones. See https://github.com/wxWidgets/wxWidgets/pull/1759