add unit test for Utils