Unit test for IndexError when ra=pi and dec<0