Included tests for RandomExtensions.

(fixes #21)