17481 deferred reject

test and fix for https://bugs.dojotoolkit.org/ticket/17481