In a book (In portuguese, it can be reed in here in the first pages) the author says that it is clear, by the definition, that the test space $\mathcal{D}(\mathbb{R}) \subset \mathcal{S}(\mathbb{R})$ is a subset of the Schwartz space(he uses other notation for the Schwartz space). The definition he uses are below
The Schwartz space is a space formed by the functions in $$C^{\infty}(\mathbb{R}) = \{f \operatorname{is a function}:f \operatorname{is continuous and every derivative}f^{(q)}\operatorname{for every}q\in\mathbb{N}\operatorname{exists and is also continuous}\}$$ and satisfies that, for every $m,q \in \mathbb{N}_0 = \{0,1,2,\dots\}$ $$\lim_{\vert x \vert \rightarrow \infty}(1 + \vert x \vert)^m\vert f^{(q)}(x)\vert = 0$$
and the definition of the test space is
The test space is a space formed by the functions in $C^{\infty}(\mathbb{R})$ such that the suport of the functions are compact, i.e, the set defined by $$\operatorname{supp}f = \overline{\{x \in \mathbb{R}: f(x)\neq 0\}}$$ where the line above means closure, this set must be a compact set.
Finally my question is that, to me, is not as trivial as it sounds that every test function satisfy the conditions to be a Schwartz function. There is a proof of this or it is really so trivial that this fact does not deserve a demonstration?