sw-tests: fixed software installation job tests
Existing connection object was duplicated into several processes
in parallel method invocation test, which caused "Connection closed
errors".
Cope with a speed of package-kit backend that may finish the job and
create desired associations before testcase even finishes testing of the
first job instance.
Signed-off-by: Michal Minar <miminar@redhat.com>