Fix nodes unit tests.

http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/pulp_nightly_master/target_platform=pulp-f18/12/