Implemented TestQuarkGetIpPolicies and cleanup