Fixed node DB API tests that were broken
Fixed node DB API tests that were broken

There are still more test cases needed.

tengqm/senlin-container,Alzon/senlin,tengqm/senlin,tengqm/senlin-container,stackforge/senlin,tengqm/senlin,Alzon/senlin,openstack/senlin,stackforge/senlin,openstack/senlin,openstack/senlin