core: get tests passing cleanly on Ruby 2.0.0