converted utilsTest to internal unittests