Add rst document test.