DesignDocument.toString() with test. Fixed #166.