Test notifyAll