Add ControlledPromise, a synchronous promise that can be controlled, allowing for easier testing of promise resolution flow.