Test notification and waiting implemented.