Test returning objects with non-function `then` properties.

Closes #12.