Edit account resource to save settlement and update tests