Added tests for CreateFile, removed unused parts of starting state