Update to make tests work with Mojolicious 4.0

The method render_text in M::Controller is removed
from 4.0, and is replaced with render(text => ...)