Added tests for text