Add functions to be able to check other variable type.

And divide how to call.
Because, current method is ambiguous.
Add test function to check other kind of variable types.