Mark test pointers as non-autorelease, fix for JRuby bug

JRuby bug: https://github.com/jruby/jruby/issues/654
Fix for retaining_class#initialize on Ruby 1.9.2