def METHOD_NAME():
    """
    Test if it returns False when specified package is installed and
    uninstall fails
    """
    mock_list = MagicMock(return_value={"underscore": {}})
    mock_uninstall = MagicMock(side_effect=CommandExecutionError)
    with patch.dict(
        bower.__salt__, {"bower.list": mock_list, "bower.uninstall": mock_uninstall}
    ):
        ret = bower.removed("underscore", "/path/to/project")
        expected = {
            "name": "underscore",
            "result": False,
            "comment": "Error removing 'underscore': ",
            "changes": {},
        }
        assert ret == expected