I'm very close to getting it to work with:

https://github.com/astrofrog/aplpy/tree/try-new-astropy-helpers
https://github.com/astrofrog/astropy_helpers

but somehow the 'mocking' of the dependencies doesn't work yet. Investigating...