Added some tests for validation and text.