Fix for failed builds in Jenkins

This change fixes the failed builds currently happening in Jenkins.

I forgot to update the unit tests to account for the changes from #737 and #864. :frowning: 

These unit tests are admittedly janky, but refactoring them is not in the scope of this change. We do have a plan to refactor notifications in the near future though. At that time, we will write new unit tests.