test code of sqlite