Fix tests for ruby > 2

When working on https://github.com/james2m/canard/pull/15 with ruby 2.1 I noticed this failing test. It seems this failure started happening with ruby 2.0

This fixes the test, though I'm not super sure why the change is necessary. I looked around online to see if anyone else had this problem and didn't find anything.