Update Tests
Testing coverage decreased during paper correction as we changed the freq_hists function.
Therefore, I have added tests to handle these changes. I have also looked at other ways of increasing our test coverage. I looked at lines not covered and have tried to add tests to do so.
I have not added tests to cover lines missed in clusters.py as I may refactor soon and will do it then.