Fix warning category in FedMsgContext.send_message

send_message() deprecation warning fails with an Attribute error since DeprecationWarning is a built-in exception and not provided by module warnings.
An unit test case has been provided.