Bug 1062323 - Fix compose_test.js for Promise change.

@julienw