Fix broken unit test

This unit test worked in 2.4-* branches but not 2.5+. Newer versions of Pulp do
additional parsing of the output of parse_treeinfo and require a mock with more
verisimilitude.
Merge pull request #584 from beav/fix-broken-test

Fix broken unit test