added some tests for the user model
Merge pull request #2 from SamMatthews9/tests

added some tests for the user model