minor bug fix with get_tested_distributions.
applied previous correction to discrete case. WIP
minor changes. WIP