Avoid Float#object_id in a spec for Ruby2.0 and later

Related  CI failure in #41