test searching the distributions