Added text declaration tests