Update tests for module robottelo.factory

A recent commit significantly changed the behaviour of the code in module
robottelo.factory. Update relevant tests to accomodate those changes.