improving notification tests