Add some test for parseFragment().