Test flatdoc