Refactor unit test so that podman can be used to run tests when docker is not available. Fixes: #2006 Signed-off-by: Marco Vedovati <mvedovati@suse.com>