Removing debug log statement for platform pwd
Updated tests to use a TestPlatform.

Prevents loading of global config from regular user directory. Added a custom
injector for tests.