Using struct instead of class for test
Fixing logic for Type#wrappable?

- in ruby 1.8.7 nil responds to #id