Skip compare object identity with RSpec.

Tests with ruby 1.9.3 fails when comparing object identity.