tests: slim test_goal.c by using a testsys function instead of its reimplementation.
tests: slim test_goal.c by using a testsys function instead of its reimplementation.

rpm-software-management/libdnf,cgwalters/libhif,rpm-software-management/libhif,Conan-Kudo/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,rpm-software-management/libhif,Conan-Kudo/libhif,rpm-software-management/libdnf,rpm-software-management/libdnf,hughsie/libhif,cgwalters/libhif,hughsie/libhif,cgwalters/libhif,rpm-software-management/libhif,edynox/libdnf,cgwalters/libhif,edynox/libdnf,edynox/libdnf,hughsie/libhif,Conan-Kudo/libhif,hughsie/libhif,edynox/libdnf,Conan-Kudo/libhif