You should also assert that the old field value does not exist:

```java
assertEquals(0, fooBarCollection.find(new BasicDBObject("_class", "11")).length());
```