Fixed test for bufferSubData