TEST: added test_distribution