Added functions test_link12 and test_link to add forwarding links between ports 1 and 2.