Extract test file creation