Add test to DbManager