Refine tests of input file.