add unit test for parsing composite array