Patches for Report expect_string in plugin output if test fails [sf#2798295] [#985]