fix some tests for utils