Changing the test that reads from a buffer