spark and scala test