Model tests

Tests for the user model, not all of them are passing and there are a lot of auto-generated tests that have been created during scaffolding that I have not touched.