Refactoring test cases to allow binary message content.