Fix test failures caused by $_ clashes

both UnitTest->new and Kernel::Config::Default used $_, causing the
tests in UnitTest.t to abort.

This commit introduces lexical variables instead in both places,
as well in ObjectManager