add flagging test to notifications