tests noticecontroller