Test that look-ahead is independent of chunking

This only adds a new unit test (which passes). This test serves to document a bug in older versions of binary (described in detail in the comment above the unit test) and to make sure that this bug is not reintroduced in some other way.