Slight changes to test_view. Fixing minor errors