Added assertion for node lists, avoid PHPUnit equals loading empty xml string