add test for receivelistener