Tests for users model