Add test for cask failed installation.