Remove empty string messages in tests.