some basic stochastic tests