New: tests for compare-installed-pkgs

Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>