file tests fixed