String unit tests