Fix typo
Save generated config file
Remove test file synchronously