US538: generating xml for breaks in circs and functional tests