cover config, client and some routers with unit tests