Add dependencies for perl tests