add extreme cases for StringHandler and the way to handle them.