add test for ListenCommand