Add type-check test for long array creation.