Introduce a MultiRequest.endHandler(..) method and safer handling of notify attributeHandler. Also improve tests