add unit tests
add unit tests for util-common