Added test case for checking non-string as value