Add test for set_notice_receiver