Implemented tests for LdmEnvelope