test case for array and recursive field