Added tests for AbstractDeferred