Adding behavioral - mediator impl and tests, fix a leak (cause a leak) in behavioral - chain of responsibility