Adding integration tests for Spark

Change-Id: I6ab9b0b2e6f7fab66ab08f5b99fd88bda8a2a01c