Move TestUtils from test to main source set.
Fix typo in UnitTest breaking Log for tests.