Test case 1 – should reject non-string values