Fix a broken test: test_invalid_prng_method