Put unit test helper functions in internal package to make them available to unit tests of all packages