Fix type-checking for classes.

Now using rb_obj_is_kind_of and testing it with RTEST.
Version 0.3.2