Unit tests now work through py.test framework

Added a test to check that conversion from FITSIDI->Interfits->FITSIDI
creates files with identical information in them. Needed to change a
few lines in interfits.py so that this test passed.