Add WeakListenerTest.