Test: fixed issues with tests for Util.Promise.