It might be good to add a comment near the actual line that logs these messages, that this test might break if you change or remove it.