Better unit test for load xml as string