Added user and session model tests
Merge remote-tracking branch 'origin/master'