add tests to both new utilities

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