Add test case (and fix it) for converting an empty NodeSeq