update spark unit test post slightly

Somebody was griping that our code didn't work, so I added a note saying that it was for spark 0.6.  Also there was one function definition that wasn't fully supplied before, which I've filled in.