Add docs about testing with curl and more error checking