Add test for port security