Add Spark best practices & test RDD key hash code