Make SQLite support sub directory of sqlite file and update test case.