Modified to test Mojolicious::Controller#flash