Add unit test, samples hosts from a random network

New unit test that samples hosts from a random 129.21.0.0/20 - 30
network and ensures that the function correctly returns that all the
hosts are in the network.