add test to make sure clear notifications is being called