cover config and models with unit-tests