fix file tests