added unit tests for Utils