add a unittest that tests the behavior that was implemented in https://github.com/simplesurance/grpcconsulresolver/pull/26