Fix tests
Add localsettings