Test top level document