Revert "Test with promises"

This reverts commit f70a96ae5a6e6acded673a9a507e1929ecb6bfaa.
Revert "Custom deferred"

This reverts commit eb1859828a2b5822683c30b9d3346ebfc493d41d.