Added Deferred, FlowError, and Deferred tests