remove sleep in test and add attribute message to notification