Test cases for enqueueWriteBuffer