make sure that we only find the shares from the correct share type if users and groups with the same ID exists
use the new base class for unit tests