added extra condition for variable for test

This makes sure the controller provides a confirmationMessages variable for the view to use