Return a Deferred promise from append test functions