Update test_dbm.py

added rng functions