Update to astropy 0.4 coordinates API

Closes #163
Rewrite generation of compressed file for testing

Using with is a little easier to read
Patch test to ignore compressed fits file

Something sensible should be done instead, see #166