Fixed test without -f option