added a new test: testJsonBuilderAgent::test_array().