avoid copious warnings in interact tests

comm was mocked out, but in a way that makes traitlets complain
Merge pull request #6520 from minrk/comm-default

avoid copious warnings in interact tests