added tests for util