TDD continued... Made it possible to test async callbacks from controllers