add AmfArray unit test cases

add AmfArray unit test cases