test fmt in viewer