Adds test_functions.jl to Spark package; working partition_by verified