Fix test for ruby 1.9; string no longer enumerable
Fix getting object for ruby 1.9; semantics of splat in method argument list changed

In 1.8:

  def foo(*args); val = *args; end
  foo() # => nil
  foo(1) # => 1

In 1.9:

  def foo(*args); val = *args; end
  foo() # => []
  foo(1) # => [1]