Fix to use `sqlite_version_info` to get the correct sqlite3 version.
Remove unneeded test case and refactor calls to `self._fail()` method.