Add execution output to doc tests (closes #513)