add er/Deferred test