I don't think you need a separate test just for this. You could move this assertion down below to the test that deals with real XML