Test Random with Python unittest.