Raise error if bucket_count too small; fixes #15

Fixes #15
Adding test for bucket count limit