Update unit tests for yum distributor publish to prevent attempt to write to the database