Added .settings to .gitignore
Improved test for lock upgrade