tests for the -f flag