Updated the port function in order to parse the new NetworkSettings Port dict (fixes #88)
Improved assertions in the port test
Shortened lines
Refactored test. It now makes 2 calls to port
Improves code style
Merge pull request #119 from ureyes84/master

Updated port function