add assertTrueEventually to testListenerRegistrations . fixes #3118