Fixed test with binary keyfiles