add AmfArray unit test cases