updated test cases in the stochastic motion functions module.