Added more robust tests for getArrayWidth(...).