test with broken file