Test case for the user model.
Factory models reviewed for apps name changes.
Merge pull request #227 from jose-lpa/refaktor

Unit tests for the user model methods.