test cases, arraybuffer mod