Fixed many subnet related test cases.

Assertion for `test_create_subnet_3` depends on whether checkbox
or selection list exists.

Fixed many other miscellaneous test cases.