refactoring in test for show_wdl_format + improve parser