testing of notify