Adding tests for utils