For now, only `push` and `pop` have generic versions. The other methods try to cast to Array, throwing for non-Arrays. At least they don't throw internal errors. In https://github.com/mozilla/shumway/pull/2184, I disabled the tests for most of these because they take too long. We should add new tests that don't.