Added file tests