Adding tests for the user model