Adding case sharing assertions
Adding unit tests for case sharing assertions
refractoring code for setting autoset_owner_id, and use assertion when autoset_owner_id is True
Clarify string for failed case sharing assertion
fix build error when missing subcases