Don't run spark tests if pyspark isn't available

closes #382