test for different distributions