Unit test class for ip_regexp from compat

Change-Id: I041fdbc734a1174ba4c233e4c6947883711ae80b
Merge "Unit test class for ip_regexp from compat"