Create test_switchdpidassignment.py

Regression tests to verify switch datapath ID assignment.
Update test_switchdpidassignment.py
Merge pull request #241 from moijes12/fix44

(pending) Create test_switchdpidassignment.py