Added cli test for file delete that breaks unit testing (gives an error only on cli..)