Changed :project_membership to :membership_test which fixed a lot of failing tests.
Updated project affiliated record related abilities. Related tests
now pass.
Rewriting the project affiliated record tests to use join logic.