Yeah so I was thinking of adding the following to spec-helper:

```
VimMode = require `../lib/vim-mode`

beforeEach ->
  atom.workspace = {}
  VimMode._initializeGlobalState()
```

Also you're totally right that we're reaching across interfaces with our crazy cache-editor-don't-load-the-package stuff in specs but the speed differences were greater than 50x so I figured it was worth munging the abstraction a bit.

FWIW we actually do the proper package initialization in `vim-mode-spec.coffee` and in that spec `atom.packages.getPackageState('vim-mode')` will do what you're thinking it does.