test for db file