mjgiarlo: those tests fail in Jruby, but not MRI.  It's unclear how they pass in MRI, but @mbklein is doing it the correct way here.