Rename DependencyVisitor into flink API and add Tests