Quick fix for deferred test code

Since the merge of kiwanami/emacs-deferred#7 changed the way of error handling
of the deferred framework, some tests failed.
This commit fixed these failures.