Allows the tests to run in astropy 0.2.4

Allows the tests to run in astropy 0.2.4 (or other versions which don't have the class `astropy.coordinates.errors.IllegalSecondsWarning` defined). Closes #1