[SPARK-3765][Doc] add testing with sbt to docs

Add testing with sbt to doc ```building-spark.md```