Fix tests for new version of sqlite