If this is a copy of the Spark Core one, you can add a test-only dependency on Spark Core's tests to GraphX. Look at how projects like "externalTwitter" in SparkBuild.scala do it.