Unit-tests for Average and RandomnessManager classes.
New dispersy-branch