Fix case sensitivity problem on Promise functional tests
Merge pull request #991 from clarle/func-test-fixes

Functional test fixes for Promise