Minor fix when dumping boolean values
Adding tests for xml.Parser