throws error when subscriber is not a function
using setUp to clear message list