add breaking test for complex case sharing
fix test for complex-case-sharing
do not auto insert owner_id if already manually set