added AmfObject test cases

added AmfObject test cases