Added unittests - functions is_shared() and get_shares()