fix cask test