test for invalid input value of string type