Assert on -f file type tests.