Modified the tests a bit, and modified .gitignore

-.gitignore: ignore .sonar folder (sonar temporary trash)
-fixed the tests
-added User test