Base classes to use when writing tests with Spark