Testcase for BaseArray
Make TArray has similar interface to BaseArray