def test_create_superuser(self):
        """
        Create superuser
        """
        user = UserProfile.objects.create_superuser(
            username='j_smith',
            email='j_smith@example.com',
            password='password9',
        )
        self.assertIsInstance(user, UserProfile)
        self.assertEqual('j_smith', user.username)
        self.assertTrue(user.check_password('password9'))
        self.assertTrue(user.is_staff)
        self.assertTrue(user.is_admin)
        self.assertTrue(user.is_active)
        self.assertEqual({
            'user_id': 1,
            'total_cash': formatted(0),
            'portfolio_value': formatted(0),
            'reputation': '100%',
        }, user.statistics_dict)

        user2 = UserProfile.objects.create_superuser(
            username='j_smith',
            email='j_smith@example.com',
        )
        self.assertIsInstance(user2, HttpResponseForbidden)