lib/standard/text: Added tests for general API of Texts.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>