Make SPARK_VERSION configurable and avoid fetching hadoop-test when it's not needed