Merge "Fix tests creating share without using share_size"