No longer necessary after JSHint configuration.
Add ControlledPromise, a synchronous promise that can be controlled, allowing for easier testing of promise resolution flow.