Update UI subnet tests

Instead of using a constant netmask, use the FauxFactory gen_netmask
generator.
Merge pull request #1533 from elyezer/update-subnet-ui-tests

Update UI subnet tests