Add test for calls out to listener