Upgrade dependencies
Fix duplicate test definitions
Add port and socket option for tests

Plus ignore rule for local testing script