While building a new module that requires DocGen integration, the testing phase consumes live DocGen counts. Just like Forms or Workflow, ideally DocGen too should have Development mode. That way admins wont consume limited DocGen quota during testing / build phase. Please consider.
P.S.: If required the file generated by DocGen in such a mode can have some watermark.