Use Long value when comparing version field

When comparing the value of the version field, compare against a Long rather than an Integer, since the version field generated is a Long.

This allows the test to pass against the upcoming 2.12.0 release of the Java driver, which has a stricter implementation of BasisDBObject.equals (it treats Integer and Long as un-equal, as MongoDB does).