Catch exception if output file exists
Created by: dominikwerder
Description of work
Add test case to provoke an exception due to already existing file.
Assert that the exception is handled and that the command is not accepted by CommandHandler.
Issue
Closes #220 (closed)