fixed failing tests related to message variable not being used in view