Distributions: fix string tests