Tests for local infile