Create SparkContext in beforeAll for MLLib tests

This overcomes test failures that occur using Maven.