IpNetwork Unit Tests, re-factoring and javadoc