adding generate_view (only GET) with unit test