Testing reading and writing of WMF files