Add a simple test

This one reproduces the error I reported in https://github.com/astropy/astroquery/pull/275