Adding a simple test for the number of samples per bin.