Fixed test data and removed unnecessary code to fix doc.doc problems caused by the previous data.
Added a startup check to give pouch enough time to start up.  Also simplified the bulk document upload.