(maint) Add tests for parsing of inet addresses

Prior to this commit, there were no tests for the
`Facter::Util::IP.parse_inet_address` method. This commit adds tests,
and modifies the implementation of the method so that it passes the
tests.