Merge "Add tests for the 'trusted' attribute in port resource"