Class with unit tests

I worked thru the changes in the email:
cleaning up the names
removing the duplicate unittests.
hmmm....this returns a pandas series, i was expecting a histogram.....maybe this should return a list of lists or something? It may be better if the users of this didn't have to know / handle pandas. Happy to discuss.