Changed param name dev of set_ipv4 to devname, updated tests, added a testcase for anil's specific netmask issue