Test cases around handle_envelope

Breaking out test cased for the following scenarios:
* when there is no compatible version registered for the message
* when there is a compatible version registered for the message