Add type-check test for new int array creation.