tests for empty files and missing files