Added test for getAllMessagesFromIcc