tested dependency factory