add test case for Buffer to BYTE array mapping