test: promise: 'supports Promises/A+ requirement, that callbacks must be called as functions': check not only global but null - needed for ECMAScript strict mode