Fixed the Code to pass the unit test for quote message.