Self test for the fedmsg decorator.