test dump: add a test for array