src: add portNumbers property to Device

- Add new test.
- Update Readme.
test: fix test statement