Fixed user_profile view tests to pass in Django 1.6