fix(app): add url handler for deferred tasks
fix(tests.py): run deferred tasks