The description of the bug in https://github.com/hexhex/hexlite/pull/2 would make a very nice testcase.