Refactored a test_mdc_party_line a little according to comments on the PR