[test] Simplify AbstractDependencyTest
[test] Remove usage of ArtifactImpl from tests
Totally remove usage of ArtifactImpl
[refactor] Move implementation of model visitors to impl package