test fix for astropy <0.3.  Once astropy 0.3 is released, this should be
removed
tag: astropy 0.2 compatibility