Fixed dbfile:get-dbdat, removed calls to add-dbdat in init-subdb, enhanced the tests.