Test case for company_shares method