Add unittests to simplerng.d which was simply unusable.