Use expect syntax in listener_spec