added unit test for util