Ranieri pleased with Inter friendly win