Correct inheritance for MulticastDelegate. Added Invoke method for each instance. Fix #543.
Delegate type tests added.