Added some missing declarations in test_dao