added unit tests for curl