test for db is passing