Move test outputs, update testing scripts.  What does gen_doc do?