Move streaming test initialization into 'before' blocks

This fix is needed for the `spark-streaming` tests to pass under Maven.