update test_astropy.py to be stand alone