Create test files and write random data in TestEC