Added TODOed test for patching a child repository with post.
Bugfix: Use SafeCast when casting BillingAgreement to SendRegningAgreement on CapturePayment (nhibernate proxy fail).