Remove "cast" from Promise test

Promise.resolve now behaves as Promise.cast
Merge pull request #1320 from kristerkari/remove_promise_cast

Remove "cast" from Promise test