Implemented tests for PUT /ports/id