Fixes failing spec around CurlFile in 5.5 php and also adds additional spec