Coverd IPAndPidIdentity with unittest
added unittest