fix sqlite and parallel tests