Sorry, I forgot to use #comments for the first array @tests.
Also strict and warning.
I am just trying to understand why the array assignment is behaving differently between the two.
Ah okay you mean the 2nd one is an array of array.
Okay, I understand now. It's an array within an array. Got it!