Test for an empty body to XML parser?

I've struggled for a while with a bug that was actually caused by that I was unknowingly passing an undef body to the RDF/XML parser. I figured, it should perhaps be more graceful, and not croak? 

So, I submit this patch to the tests, if you accept this, I could look into how it should be done.

Kjetil