Generate fake files for test cases

Make the generation of test files deterministic.