fixed test casesls
added quick test case for generic arrays