Improve tests for `ArrayBuffer`s