Improve tests for Node and Port DB objects.

- Prevented overlaping asserts by separating sequencial
  tests to several small ones.
- Added tests for updating and destroying a port.
- Added more assertions to node reservation tests.

Change-Id: I1f67d24ae1938546c3b6e93caf89013d18b090f3