Switch the delete command in subnet and router functional tests. Because addCleanup will also work when an assertion fails ,except the test is for testing delete command. Change-Id: I33634f5148c4895c7cf4d4773a9c33c8368850c7