fix level_test to provide valid xml for program solution, and allow empty tag in xml block formatting