Minor fix to a Promise test.