add tests for utils