Added tests from the readme and fixed CIDRs for IPv6 (was missing slash)