TS-2139 fix the bug of purge twice to remove the doc if enable-interim-cache
Add simple unit tests for ats_ip_parse()