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.
Merge pull request #1795 from kbidarkar/fix-subnet-tests

Fixed many subnet related test cases.