Implemented rest of ip policy unit tests