command listener tests