Array support

Known issues:  do not found method to test some features.  Will add more test cases in the future.