r21688: Add simple tests for genrand