Added check for value when calling Facade.Text.setText.

Added tests for Facade.Text.