Create test_switchdpidassignment.py

This is a patch for https://github.com/mininet/mininet/issues/44 . 4 tests have been added in a new file test_switchdpidassignment. The purpose of each test is in a comment in the issue.