python test for linux random number generator