fixed for spark dependencies
changed to jar-with-dependencies
simplified for testing spark