added test for ArrayBuffer