Test cases for Array.length()