update test_views.py