More file mode tests