updated refactored test for AppView.render