fix and mock slack integration