fixes in unit tests
fixed errors in unit tests for distribution.py, all tests that are implemented are successful
test for distribution class properly running.