correct notify and correspoding test