Minor fix in Promise tests.