Fix test so it will pass with recent versions of Mojolicious

I don't know if the interface for Mojolicious changed at some point, but now there is no method called render_text().  Instead, there is render(text => '...')