fix astropy to work with split imperial units

The tests don't work with the most recent version of astropy.  This pull requests fixes the problem.