Add test for register/unregister database
Work on delete database