Add testcase for nested arrays.