solutions/max_kaskevich/6/tests/multicast_communication_tests/quote_message: add tests with bad blocks and some refactoring.