Flatten test files