fixes #195 Not all equal keys are byte-equal. Add a simple regression
test to catch bugs like these in the future.