Setting up spec for a Deferred implementation example