added tests for utils