Added the line:

```js
expect(Class.identityMap.cache.keys().join()).to.equal("1,2");
```

that checks for unnecessary instance creation.