Solved bug in notify tests