This test checks that Array objects fail gracefully (throw exception) when array length grows large.

This test may run for over 20 seconds on a fast machine, and will consume hundereds of MB of memory.