unit test checks that it gives the right answer when the name is not in the hdulist