fixed minor bug; 100% coverage for distributions.py