test connection with a sqlite database