adding unit test for dbm_demo