Text command unit tests