fix test, use global dependencies registration