Correct test sqlite settings
Fix end to end tests