Add test for DOM arrays
include: Fix a stale comment for Array constructor
include: Improve support for Array[]