Remove unused imports

Noticed this when testing the release version (since the release version doesn't include ``astropy_helpers.tests`` - turns out these imports are left over from the astropy core days I guess.