Test removal of distributions