The generated buffer should be tested for semantic equivalence to the correct buffer, instead of being tested for bytewise equality.