Create separation in unit/integration tests by using package_test for tests

Migrate all golang tests to package_test for separation.

Currently we have a mixture of tests in the main package they are testing and newer tests that place tests in a package_test package. Once we have all tests into package_test packages it will enable using the di package in tests without causing circular dependencies. That will in turn allow removal of the mock/factory/di package in favor of a mock/dih package with helper methods.

Edited by 🤖 GitLab Bot 🤖