added test cases for string handler
added extreme test cases for StringHandler