add spec for different exceptions in SynchronousAdapter::release