Tests for the file reader