Fix case sensitivity problem on Promise functional tests