Test Rand\cleanup, Rand\generate and Rand\seed