testing notification correctly