generate controller view and integration test