remove unused cfg object

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
fix unused imports in tests

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>