We have recently had a bug where we were messing up with the summary generation
in certain corner cases. In particular, when the number of keys was an exact multiple
of the sampling rate.
Add a test case to make sure we never regress on this.
Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>