completed test_views_return_json