preliminary version of ensemble test routine by checking the ratio of probability