Tests for files