Fix test cases for `flycheck-display-errors-function`
Remove usage of non-existing functions

As a side-effect, copy each messages separately in
`flycheck-copy-messages-as-kill`.