finish refactoring warden_cpi unit test with all deprecation warning removed