test fix for astropy <0.3.  Once astropy 0.3 is released, this should be
removed
tag: astropy 0.2 compatibility
fixed import tests: warnings need to be cleared for testing
another attempt to get the warnings to test right