removes unnecessary render line from pages controller, switches to stringified key in flash msg test