Fix: Made sure lastError is set when operations failed.
New: General tests have been updated to use the new API.
Removed CFNetwork (it is no longer necessary)
Removed asyncTests as they can’t be run.