Refactor project_share_controller tests