fixed tests for utils

This fix the tests so now are running without any error.