+register/unregister listeners tests