toDeferred README, tests, and refactor