[BUGFIX beta] Fixed broken import of `generateController`
[BUGFIX beta] Add global API tests.

This just adds the basic layout/structure to add tests to confirm we
have no further regeressions.
Merge pull request #5134 from rjackson/add-global-api-tests

Export generateController and add regression test.