fate: add PFM encoder tests