added testing to user model
Merge pull request #10 from brandonkwong/modeltesting

added testing to user model