Correct message_linecount in -bem testing.