CA-126990: Improved test causing failures on hosts with patches.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
Merge pull request #15 from kc284/master

CA-126990: Improved test causing failures on hosts with patches.