added a curl spec test