Remove redundant code in tests/unit/test_l3_agent

Change-Id: I87d09507cb9e9e37179d6d2035b211aa99f37260
Merge "Remove redundant code in tests/unit/test_l3_agent"