use new syntax to construct Any[] and Dict, typo fix in testcase