Create unit test for utils.