Test document with custom headers
